
import axios from '@/api/fetch';
import SERVER from '@/api/server';

export const exportTemplateFile = params => {
  const url = `${SERVER.WHOLESALES}/file/downtemplate`;
  return axios({
    url,
    method: 'get',
    responseType: 'blob',
    params
  });
};
